# Python Project
# 撰写人：Blackstar
# 最佳存款方案
i = 0
m = 0
while (i < 5):
    m = ((m + 1000) / (1 + 0.0063 * 12))
    i += 1
print(m)